package com.hzzy.IDao;

import com.hzzy.bean.HzMenuFunction;
import com.hzzy.bean.HzMenuFunctionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HzMenuFunctionMapper {
    int countByExample(HzMenuFunctionExample example);

    int deleteByExample(HzMenuFunctionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HzMenuFunction record);

    int insertSelective(HzMenuFunction record);

    List<HzMenuFunction> selectByExample(HzMenuFunctionExample example);

    HzMenuFunction selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HzMenuFunction record, @Param("example") HzMenuFunctionExample example);

    int updateByExample(@Param("record") HzMenuFunction record, @Param("example") HzMenuFunctionExample example);

    int updateByPrimaryKeySelective(HzMenuFunction record);

    int updateByPrimaryKey(HzMenuFunction record);
    
   /*自定义*/
    
    /**
     * 根据菜单id获取功能页面的详情
     * @param menuId
     * @return
     */
    List<HzMenuFunction> selectByMenuId(Integer menuId);
}